#ifndef _TEXTBOX_STEG
#define _TEXTBOX_STEG

#include"Video.h"

#define TB_TXT 0x78
#define TB_HOT 0x79
#define TB_HIL 0x2
#define TB_BUF 50

#define DEF  5
#define STR 20
#define MAX 10

// Class TextBox begins
class TextBox // Ok !
{
	char *Text, *Title;
	int Width, Height, DisplayStartIndex, Index;
	Rectangle TextRect;
		void showTitle(int);
	public:
		TextBox();
		TextBox(char *, int, int);
		~TextBox();

		void createTextBox(char *, int, int);
		void setXY(int, int);
		void showTextBox();
		void handleCharEntry(int *, int *, char);
		char handleTextBox();
		void setText(char *);
		void showText();
		int getLength();
		char *getText();
};

#endif